<HTML
><HEAD
><TITLE
>GR_FONT_INFO</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.61
"><LINK
REL="HOME"
TITLE="Nano-X Library API"
HREF="index.html"><LINK
REL="UP"
TITLE="Nano-X Data Types"
HREF="nxstruct.html"><LINK
REL="PREVIOUS"
TITLE="GR_FONT_ID"
HREF="nxstruct_GR_FONT_ID.html"><LINK
REL="NEXT"
TITLE="GR_FUNC_NAME"
HREF="nxstruct_GR_FUNC_NAME.html"></HEAD
><BODY
CLASS="REFENTRY"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Nano-X Library API</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="nxstruct_GR_FONT_ID.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="nxstruct_GR_FUNC_NAME.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="NXSTRUCT.GR.FONT.INFO"
><SPAN
CLASS="TYPE"
>GR_FONT_INFO</SPAN
></A
></H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN10185"
></A
><H2
>Name</H2
><SPAN
CLASS="TYPE"
>GR_FONT_INFO</SPAN
>&nbsp;--&nbsp;Font properties</DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN10189"
></A
><H2
>Synopsis</H2
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>typedef struct 
{
    int      maxwidth;
    int      height;
    int      baseline;
    int      firstchar;
    int      lastchar;
    int      fixed;
    GR_CHAR  widths[256];
} GR_FONT_INFO;
  </PRE
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN10191"
></A
><H2
>Description</H2
><P
>    A <SPAN
CLASS="STRUCTNAME"
>GR_FONT_INFO</SPAN
> structure contains
    properties of a nano-X font. The font properties are filled in by
    the function  
    <A
HREF="nxapi_GrGetFontInfo.html"
>    <TT
CLASS="FUNCTION"
>GrGetFontInfo()</TT
></A
>.
    </P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN10197"
></A
><H2
>Fields</H2
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10199"
></A
><P
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><THEAD
><TR
><TH
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>Type</TH
><TH
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>Name</TH
><TH
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>Description</TH
></TR
></THEAD
><TBODY
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><SPAN
CLASS="TYPE"
>int</SPAN
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>maxwidth</TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The width of the widest character in the font.</TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><SPAN
CLASS="TYPE"
>int</SPAN
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>height</TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The height of the font in pixels.</TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><SPAN
CLASS="TYPE"
>int</SPAN
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>baseline</TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The baseline ascent of the font in pixels.</TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><SPAN
CLASS="TYPE"
>int</SPAN
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>firstchar</TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The first character in the font.</TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><SPAN
CLASS="TYPE"
>int</SPAN
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>lastchar</TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>The last character in the font.</TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><SPAN
CLASS="TYPE"
>int</SPAN
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>fixed</TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>GR_TRUE if the font is fixed width, GR_FALSE if it is a
        proportional width font. </TD
></TR
><TR
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
><A
HREF="nxstruct_GR_CHAR.html"
><SPAN
CLASS="TYPE"
>GR_CHAR</SPAN
></A
></TD
><TD
WIDTH="25%"
ALIGN="LEFT"
VALIGN="TOP"
>widths[256]</TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>An array containing the width in pixels of each
        character in the font. </TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN10246"
></A
><H2
>See Also</H2
><P
>      <A
HREF="nxapi_GrGetFontInfo.html"
>            <TT
CLASS="FUNCTION"
>GrGetFontInfo()</TT
></A
>, 
      <A
HREF="nxstruct_GR_LOGFONT.html"
>            <SPAN
CLASS="STRUCTNAME"
>GR_LOGFONT</SPAN
></A
>.
    </P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="nxstruct_GR_FONT_ID.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="nxstruct_GR_FUNC_NAME.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><SPAN
CLASS="TYPE"
>GR_FONT_ID</SPAN
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="nxstruct.html"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><SPAN
CLASS="TYPE"
>GR_FUNC_NAME</SPAN
></TD
></TR
></TABLE
></DIV
></BODY
></HTML
>